package com.xiaoma.provider;

/**
 * @Author: xiaoma
 * @Date: 2021/7/5 16:43
 * @description: 保存和提供服务实例对象
 */
public interface ServiceProvider {
    <T> void addServiceProvider(T service, Class<T> serviceClass);
    Object getServiceProvider(String serviceName);

}
